﻿using System;
using System.Collections.Generic;

namespace JSLCloud.App.Mes.Models.TPMUser
{
    public class UserQueryModel
    {
        public int ID { get; set; }

        /// <summary>
        /// 用户名称
        /// </summary>           
        public string UserName { get; set; }

        /// <summary>
        /// 登录账号 
        /// </summary>
        public string LoginName { get; set; }

        /// <summary>
        /// 登录密码
        /// </summary>
        public string LoginPwd { get; set; }

        /// <summary>
        /// 加密的盐
        /// </summary>
        public string Salt { get; set; }

        /// <summary>
        /// 角色ID
        /// </summary>
        public int RoleId { get; set; }

        /// <summary>
        /// 部门ID
        /// </summary>
        public int DeptId { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        public string DeptName { get; set; }

        /// <summary>
        /// 角色名称
        /// </summary>
        public string TRolesRoleName { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool Status { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 创建人
        /// </summary>
        public int CreateId { get; set; }

        /// <summary>
        /// 是否供应商
        /// </summary>
        public string IsSupplier { get; set; }

        /// <summary>
        /// 供应商ID
        /// </summary>
        public int? SupplierId { get; set; }

        /// <summary>
        /// 供应商名称
        /// </summary>
        public string Gysmc { get; set; }

        /// <summary>
        /// 手机号码
        /// </summary>
        public string Tel { get; set; }
        public string Xxids { get; set; }

        public int[] Xxid { get; set; }

        public string Xxlx { get; set; }

        public string Bzids { get; set; }

        public int[] Bzid { get; set; }
        public string Bzgx { get; set; }

        public bool IsAuditer { get; set; }
    }
}
